package com.corundumstudio.socketio.demo;

public class ChatObject {

    private String userName; //用户名
    private String message; //消息内容
    private String userid; //用户id
    private String messageType; //消息类型
    private String receivier;//接收人
    private String mkey;//aes key
    
    
    
    public String getMkey() {
		return mkey;
	}

	public void setMkey(String mkey) {
		this.mkey = mkey;
	}

	public ChatObject() {
    }

    public ChatObject(String userName, String message) {
        super();
        this.userName = userName;
        this.message = message;
    }

    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMessage() {
        return message;
    }
    public void setMessage(String message) {
        this.message = message;
    }

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getMessageType() {
		return messageType;
	}

	public void setMessageType(String messageType) {
		this.messageType = messageType;
	}

	public String getReceivier() {
		return receivier;
	}

	public void setReceivier(String receivier) {
		this.receivier = receivier;
	}

	@Override
	public String toString() {
		return "[userName=" + userName + ", message=" + message
				+ ", userid=" + userid + ", messageType=" + messageType
				+ ", receivier=" + receivier + ", mkey=" + mkey + "]";
	}

	 
	
	 

}
